﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200068B RID: 1675
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class GetChessRogueStoryAeonTalkInfoCsReq : IMessage<GetChessRogueStoryAeonTalkInfoCsReq>, IMessage, IEquatable<GetChessRogueStoryAeonTalkInfoCsReq>, IDeepCloneable<GetChessRogueStoryAeonTalkInfoCsReq>, IBufferMessage
	{
		// Token: 0x170015A1 RID: 5537
		// (get) Token: 0x06004B96 RID: 19350 RVA: 0x000CF61D File Offset: 0x000CD81D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<GetChessRogueStoryAeonTalkInfoCsReq> Parser
		{
			get
			{
				return GetChessRogueStoryAeonTalkInfoCsReq._parser;
			}
		}

		// Token: 0x170015A2 RID: 5538
		// (get) Token: 0x06004B97 RID: 19351 RVA: 0x000CF624 File Offset: 0x000CD824
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return GetChessRogueStoryAeonTalkInfoCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170015A3 RID: 5539
		// (get) Token: 0x06004B98 RID: 19352 RVA: 0x000CF636 File Offset: 0x000CD836
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return GetChessRogueStoryAeonTalkInfoCsReq.Descriptor;
			}
		}

		// Token: 0x06004B99 RID: 19353 RVA: 0x000CF63D File Offset: 0x000CD83D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetChessRogueStoryAeonTalkInfoCsReq()
		{
		}

		// Token: 0x06004B9A RID: 19354 RVA: 0x000CF645 File Offset: 0x000CD845
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetChessRogueStoryAeonTalkInfoCsReq(GetChessRogueStoryAeonTalkInfoCsReq other) : this()
		{
			this.talkDialogueId_ = other.talkDialogueId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06004B9B RID: 19355 RVA: 0x000CF66A File Offset: 0x000CD86A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetChessRogueStoryAeonTalkInfoCsReq Clone()
		{
			return new GetChessRogueStoryAeonTalkInfoCsReq(this);
		}

		// Token: 0x170015A4 RID: 5540
		// (get) Token: 0x06004B9C RID: 19356 RVA: 0x000CF672 File Offset: 0x000CD872
		// (set) Token: 0x06004B9D RID: 19357 RVA: 0x000CF67A File Offset: 0x000CD87A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint TalkDialogueId
		{
			get
			{
				return this.talkDialogueId_;
			}
			set
			{
				this.talkDialogueId_ = value;
			}
		}

		// Token: 0x06004B9E RID: 19358 RVA: 0x000CF683 File Offset: 0x000CD883
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as GetChessRogueStoryAeonTalkInfoCsReq);
		}

		// Token: 0x06004B9F RID: 19359 RVA: 0x000CF691 File Offset: 0x000CD891
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(GetChessRogueStoryAeonTalkInfoCsReq other)
		{
			return other != null && (other == this || (this.TalkDialogueId == other.TalkDialogueId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06004BA0 RID: 19360 RVA: 0x000CF6C0 File Offset: 0x000CD8C0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.TalkDialogueId != 0U)
			{
				num ^= this.TalkDialogueId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06004BA1 RID: 19361 RVA: 0x000CF6FF File Offset: 0x000CD8FF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06004BA2 RID: 19362 RVA: 0x000CF707 File Offset: 0x000CD907
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06004BA3 RID: 19363 RVA: 0x000CF710 File Offset: 0x000CD910
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.TalkDialogueId != 0U)
			{
				output.WriteRawTag(48);
				output.WriteUInt32(this.TalkDialogueId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06004BA4 RID: 19364 RVA: 0x000CF744 File Offset: 0x000CD944
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.TalkDialogueId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.TalkDialogueId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06004BA5 RID: 19365 RVA: 0x000CF782 File Offset: 0x000CD982
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(GetChessRogueStoryAeonTalkInfoCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.TalkDialogueId != 0U)
			{
				this.TalkDialogueId = other.TalkDialogueId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06004BA6 RID: 19366 RVA: 0x000CF7B3 File Offset: 0x000CD9B3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06004BA7 RID: 19367 RVA: 0x000CF7BC File Offset: 0x000CD9BC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 48U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.TalkDialogueId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04001DF4 RID: 7668
		private static readonly MessageParser<GetChessRogueStoryAeonTalkInfoCsReq> _parser = new MessageParser<GetChessRogueStoryAeonTalkInfoCsReq>(() => new GetChessRogueStoryAeonTalkInfoCsReq());

		// Token: 0x04001DF5 RID: 7669
		private UnknownFieldSet _unknownFields;

		// Token: 0x04001DF6 RID: 7670
		public const int TalkDialogueIdFieldNumber = 6;

		// Token: 0x04001DF7 RID: 7671
		private uint talkDialogueId_;
	}
}
